//
//  EICheckBox.h
//  EInsure
//
//  Created by ivan on 13-7-9.
//  Copyright (c) 2013年 ivan. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol UICheckBoxDelegate;

@interface UICheckBox : UIButton


@property(nonatomic, assign)id<UICheckBoxDelegate> delegate;
@property(nonatomic, assign)BOOL checked;
@property(nonatomic, retain)id userInfo;

- (id)initWithDelegate:(id)delegate;


@end

@protocol UICheckBoxDelegate <NSObject>

@optional

- (void)didSelectedCheckBox:(UICheckBox *)checkbox checked:(BOOL)checked;

@end
